package com.ms.mapper;

import com.ms.pojo.Approval_record;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ApprovalRecordMapper {
    @Insert("INSERT INTO approval_record(apply_type, apply_id, approver_id, approval_result, approval_opinion, approval_time) " +
            "VALUES(#{applyType}, #{applyId}, #{approverId}, #{approvalResult}, #{approvalOpinion}, #{approvalTime})")
    int insert(Approval_record approvalRecord);
}